<html xmlns:th="http://www.thymeleaf.org">
    <th:block th:fragment="brands">
    
<!-- {if $brand_list} -->
<div class="box">  <h3><span>品牌专区</span></h3>
   <div class="box_1">
  
    <div class="boxCenterList">
  <!-- {foreach from=$brand_list item=brand name="brand_foreach"} -->
    {if $smarty.foreach.brand_foreach.index <= 11}
      <!-- {if $brand.brand_logo} -->
        <a th:href="${brand.url}"><img style="width:170px; margin-bottom:5px;" src="data/brandlogo/" alt=" ()" /></a>
      <!-- {else} -->
      <div style="clear:both;">
        <a th:href="${brand.url}"> {if $brand.goods_num}(){/if}</a>
      </div>
      <!-- {/if} -->
    {/if}
  <!-- {/foreach} -->
</div>
</div>
</div>
<!-- {/if} -->
    </th:block>
</html>